package Question;
import Question.person.Teacher;
import Question.person.Student;
import Question.organization.Course;
public class Main {
    public static void main(String[] args) {
        Teacher mathteacher=new Teacher("李",45,"男","T001","数学");
        Teacher englishteacher=new Teacher("王",30,"女","T002","英语");

        Course mathcourse=new Course("C001","高等数学",mathteacher);
        Course englishcourse=new Course("C002","大学英语",englishteacher);

        Student student=new Student("张三",20,"男","S001",1);
        student.selectCourse(mathcourse);
        student.selectCourse(englishcourse);
        student.showselectedCourse();
        mathteacher.teach();
    }
}
